package com.example.main.api;
import com.example.main.bean.TravelsBean;

import java.util.List;;import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface MainApi {

    @FormUrlEncoded
    @POST("travels/seltravels")
    Observable<List<TravelsBean>> travelAll(@Field("page") int page);
}
